import QtQuick 1.0
import com.nokia.symbian 1.1

ListItem {
    id: root

    property alias titleText: title.text
    property alias subtitleText: subtitle.text

    platformInverted: true

    Column {
        anchors.verticalCenter: parent.verticalCenter
        anchors.right: parent.right
        anchors.left: parent.left
        anchors.leftMargin: platformStyle.paddingMedium
        anchors.rightMargin: platformStyle.paddingMedium

        ListItemText {
            id: title
            platformInverted: root.platformInverted
            mode: root.mode
            role: "Title"
            width: parent.width
        }
        ListItemText {
            id: subtitle
            platformInverted: root.platformInverted
            mode: root.mode
            role: "SubTitle"
            width: parent.width
        }
    }
}
